<!-- 设备扫描 -->
<ion-content>
    <div class="step5">
        <div class="step5-one" *ngIf="Step.state == 1">
            <div>
                <div>
                    <span></span><label for="">铭牌</label>
                </div>
                <div>
                    <ul>
                        <li [ngStyle]="{width: roomInfo.Type === 0? '100%': '50%'}" *ngFor="let data of CodeInfo,let i = index">
                            <label>{{ data.name }}：</label>
                            <p>{{ data.value }}</p>
                        </li>
                    </ul>
                </div>
            </div>

            <hr *ngIf="surveyList.text.length || surveyList.twotext.length || surveyList.select.length">

            <!-- 仪表初始设置参数 -->

            <!-- 仪表EMM9Q-Y -->
            <div class="Meter" *ngIf="surveyList">
                <span *ngFor="let data of surveyList.text,let i = index"><label>{{ data.title }}：</label><input [ngClass]="{ 'notPick': !canPick }" type="text" style="text-align:center" [(ngModel)]= "data.defaultValue[0]"><em>{{ data.unit }}</em></span>
                <span *ngFor="let data of surveyList.twotext,let i = index"><label>电压互感器PT</label><input [ngClass]="{ 'notPick': !canPick }" type="text"><i>:</i><input type="text"></span>
                <div style="position:relative;position: relative;min-height: 40px;margin: 5px 0;" *ngFor="let data of surveyList.select,let i = index">
                    <select-option [ngClass]="{ 'notPick': !canPick }" class="{{ data.key }}" [saved]="data.selected" [options]="data" (selectedObj)="selectedObj(data, $event)"></select-option>
                </div>
            </div>
            <button *ngIf="!click" (click)="showTak()">设置</button>
            <button *ngIf="click" (click)="submit(4)">下一步</button>
        </div>
    </div>
</ion-content>